package me.itsoo.elasticbatis.builder;

import lombok.Getter;
import me.itsoo.elasticbatis.session.Configuration;
import me.itsoo.elasticbatis.type.TypeAliasRegistry;

/**
 * BaseBuilder
 *
 * @author zhangxy4
 * @version 0.0.1
 * @since 2025/4/4
 */
@Getter
public class BaseBuilder {

    protected final Configuration configuration;
    protected final TypeAliasRegistry typeAliasRegistry;

    public BaseBuilder(Configuration configuration) {
        this.configuration = configuration;
        this.typeAliasRegistry = this.configuration.getTypeAliasRegistry();
    }
}
